package net.hoobo.lookzw.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.stereotype.Repository;

import java.io.Serializable;

@Document(collection = "users")
public class User implements Serializable {
    @Id
    private Long Id;
    private String Name;
    private String Description;
    private String Avatar;

    public Long getId() {
        return Id;
    }

    public String getName() {
        return Name;
    }

    public String getAvatar() {
        return Avatar;
    }

    public void setAvatar(String avatar) {
        Avatar = avatar;
    }

    public String getDescription() {
        return Description;
    }

    public void setId(Long id) {
        Id = id;
    }

    public void setName(String name) {
        Name = name;
    }

    public void setDescription(String description) {
        Description = description;
    }

}
